<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的第一个页面</title>
    <style>
        header{
            width: 100%;
            height: 100px;
            background-color: blueviolet;
        }
        header nav{
            width: 960px;
            height: 100px;
            background-color: brown;
            margin: 0 auto;
        }

        header nav span{
            line-height: 100px;
        }
        header nav span a{
            color: black;
            font-weight: 900;
            text-decoration: none;
        }
    </style>
</head>
<body>
    <header>
        <nav>
            <span><a href="#">首页</a></span>
            <span><a href="#">娱乐</a></span>
            <span><a href="#">体育</a></span>
            <span><a href="#">餐饮</a></span>
            <span><a href="#">文学</a></span>
            <span><a href="#">科技</a></span>
            
        </nav>
    </header>


    <!-- cli 命令行
    gui 可视化工具操作 -->
</body>
</html>